package com.kt.dion.golf.data;

import java.util.ArrayList;

import com.kt.dion.golf.util.Log;

public class LiveDetailRoundData extends Data
{
	private ArrayList arrGroup = new ArrayList();

	public void addGroup(Group group)
	{
		arrGroup.add(group);
	}

	public Group getGroup(int i)
	{
		return (Group) arrGroup.get(i);
	}

	public int getDataSize()
	{
		return arrGroup.size();
	}

	public class Group
	{
		private String name;
		private ArrayList arrTeam = new ArrayList();

		public void addTeam(Team team)
		{
			arrTeam.add(team);
		}

		public Team getTeam(int i)
		{
			return (Team) arrTeam.get(i);
		}

		public int getDataSize()
		{
			return arrTeam.size();
		}

		public String getName()
		{
			return name;
		}

		public void setName(String name)
		{
			this.name = name;
		}

		public class Team
		{
			private String no;
			private String[] names;

			public String getNo()
			{
				return no;
			}

			public void setNo(String no)
			{
				this.no = no;
			}

			public String[] getNames()
			{
				return names;
			}

			public void setNames(String[] names)
			{
				this.names = names;
			}
		}
	}

	public void dispose(boolean isDisposeOfPage)
	{
	}

	public String toString()
	{
		return null;
	}
}
